package com.yonyougov.devops.cruxcisupport.userrole.dto.controller;

import com.yonyougov.devops.fwc.api.dto.BasePageRequestDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.math.BigInteger;

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "根据角色Id查询用户列表")
public class UserRoleByRoleParamPageLikeRequestDto extends BasePageRequestDto {
    @NotNull
    @ApiModelProperty(value = "角色id")
    private BigInteger roleId;
    @ApiModelProperty(value = "用户名称")
    private String userName;
}
